net/http.http2responseWriterState.trailers (field)
9 uses
net/http (current package)
h2_bundle.go#L6428: trailers []string // set in writeChunk
h2_bundle.go#L6453: func (rws *http2responseWriterState) hasTrailers() bool { return len(rws.trailers) > 0 }
h2_bundle.go#L6456: for _, trailer := range rws.trailers {
h2_bundle.go#L6474: if !http2strSliceContains(rws.trailers, k) {
h2_bundle.go#L6475: rws.trailers = append(rws.trailers, k)
h2_bundle.go#L6580: trailers: rws.trailers,
h2_bundle.go#L6634: if len(rws.trailers) > 1 {
h2_bundle.go#L6636: sorter.SortStrings(rws.trailers)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |